import i18n from '@/lang'
export const tasksInVehicleTbColumns = [
  {
    title: i18n.t('campaignName'),
    dataIndex: 'taskName',
    scopedSlots: { customRender: 'campaignName' },
    width: 450
  },
  {
    title: i18n.t('车云通道'),
    dataIndex: 'channel',
    customRender(text,record) {
      return text === 1 ? '规划院' : text === 0 ? '工程院' : '';
    },
    width: 100
  },
  {
    title: i18n.t('isTestTask'),
    dataIndex: 'taskType',
    scopedSlots: { customRender: 'isTestTask' },
    width: 150
  },
  {
    title: i18n.t('vehicleStatus'),
    dataIndex: 'status',
    scopedSlots: { customRender: 'status' },
    width: 200
  }
]
